﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Usr.Repository.Entities
{
    /// <summary>
    /// 用户答题
    /// </summary>
    [Table("usr_HealthEvaluationExamAnswer"), Comment("用户答题")]
    public class HealthEvaluationExamAnswer : EfEntity
    {
        /// <summary>
        /// 评测记录Id
        /// </summary>
        [Comment("评测记录Id")]
        public long EvaluationLog { get; set; }

        /// <summary>
        /// 考题
        /// </summary>
        [Comment("考题ID")]
        public long Exam { get; set; }

        /// <summary>
        /// 答案
        /// </summary>
        [Comment("考题ID"),MaxLength(500)]
        public string Answer { get; set; }

        /// <summary>
        /// 回答时间
        /// </summary>
        [Comment("回答时间")]
        public DateTime Time { get; set; }
    }
}
